package com.shoulder.boot.acl.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 角色菜单信息
 *
 * @author 596767880@qq.com
 * @since 2024-01-05 21:06:06
 */
@Data
@Accessors(chain = true)
@TableName("acl_role_menu")
public class RoleMenu {

    /**
     * id
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    /**
     * 角色id
     */
    @TableField("role_id")
    private String roleId;
    /**
     * 菜单id
     */
    @TableField("menu_id")
    private String menuId;
}